package Thread;

/**
 * @program: javaLearn
 * @description:
 * @author: renhai
 * @Date ：2021/12/21 22:38
 **/
public class ThreadTest {
    public static void main(String[] args) {

        /**
         * new MyThread().start();
         *         new MyThread2().start();
         *         new Thread(new MyThread3()).start();
         */

        Buffer br = new Buffer();
        Procedure p = new Procedure(br);
        Consumer c = new Consumer(br);
        p.start();
        c.start();


    }
}
